-- GENERATED SPELL FOR [Markaru] --


function spell0_20775(pUnit, Event) --@Venom Spit,n/a--
pUnit:FullCastSpellOnTarget(36627,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20775', 12500, 1)
end

function Sorts_20775(pUnit, Event)
local choix_sorts_20775 = math.random(0, 0)
if choix_sorts_20775 == 0 then
pUnit:RegisterEvent('spell0_20775', 1, 1)
end
end

function mob20775_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20775', math.random(1500, 3000), 1)
end

function mob20775_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20775_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20775_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20775, 1, 'mob20775_Action')
RegisterUnitEvent(20775, 2, 'mob20775_Leave')
RegisterUnitEvent(20775, 3, 'mob20775_Kill')
RegisterUnitEvent(20775, 4, 'mob20775_Die')
